package com.lianzai.camera.dao;

import com.lianzai.camera.model.CameraBlackAndWhiteDO;
import com.lianzai.mobile.domain.CarPriceRuleDO;
import com.lianzai.mobile.domain.CommunityInfoDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 黑白名单
 */
@Mapper
public interface CameraBlackAndWhiteDao {

    List<CameraBlackAndWhiteDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(Map<String, String> map);

    Map<String, String> queryExistBlackList(Map<String, String> map);

    int update2(Map<String, String> map);

    int remove(Map<String, String> map);

    int update(Map<String, String> map);

    CameraBlackAndWhiteDO get(Map<String, String> map);


    List<Map> listByCond(Map map);

    List<Map> allList();
}
